package com.peiqi.oneisall.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.peiqi.oneisall.dao.UserMapper;
import com.peiqi.oneisall.domain.User;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 *  用户业务类
 *
 * @author 佩奇
 * @since 2024-02-14
 */
@Service
public class UserService{
    @Resource
    UserMapper userMapper;
    public User getUsers() {
        User user = userMapper.selectOne(new LambdaQueryWrapper<User>());
        return user;
    }
}
